<?php
class Zendvn_System_Function{
	
	public static function call($value){
		$tmp = explode('-', $value);
		$name = '';
		if(count($tmp)== 1){
			$name = $tmp[0];
		}else if(count($tmp)>0){
			$i = 1;
			foreach ($tmp as $key => $val){
				if($i == 1){
					$name .= strtolower($val);
				}else{
					$name .= ucwords($val);
				}
				$i++;
			}
		}
		return $name;
	}
}